<div id="qldmtour">
	<div id="tieude_qldmtour">
    <img src="<?php echo base_url();?>image/admin/menu_editor.png" width="35px" height="35px"><label>QUẢN LÝ DANH MỤC TOUR</label>
    </div>
    <div id="noidung_qldmtour">
    <div id="control_noidung_qldmtour">
            <div id="control_noidung_qldmtour_themmoi"><label><a href="<?php echo base_url();?>index.php/admin/admin/tao_dmtourmoi">Tạo menu mới</a></label></div>
        </div>
        <div id="info_noidung_qldmtour">
            <table  id='ds_qldmtour' > 	
            <tr >
            <th id="th_tendm">Tên danh mục</th>
            <th id="th_trangthai">Trạng thái</th>
            <th id="th_menu_cha">Menu cha</th>
            <th id="th_lien_ket">Liên kết</th>
            <th id="th_vi_tri">Vị trí </th>
            <th id="th_khoa">Khóa </th>
            <th id="th_sua">Sửa </th>
            <th id="th_xoa">Xóa </th>
            </tr>
			<?php 
            foreach($item as $element){ 
            echo "<tr>";
            ?>
            <td id="td_ma_menu"> <?php echo $element['id_menu'] ?></td>
            <td id="td_ten_menu"> <?php echo $element['ten_menu'] ?></td>
            <td id="td_menu_cha"> <?php echo $element['id_menucha'] ?></td>
            <td id="td_lien_ket"> <?php echo $element['lien_ket'] ?></td>
            <td id="td_vi_tri"> <?php echo $element['vi_tri'] ?></td>
            <td id="td_khoa"> <?php 
                if($element['khoa']==0)
                echo 'Không';
                else
                echo 'Có'; 
            ?></td>
            <td id="td_sua"><a href="<?php echo base_url()."index.php/admin/admin/sua_menu/".$element['id_menu']?>"><img src="<?php echo base_url();?>image/admin/book_edit.png" width="16" height="16" /></a></td>
            <td id="td_xoa"><a href="<?php echo base_url()."index.php/admin/admin/delete_menu/".$element['id_menu']?>" onClick="return doconfirm();"><img src="<?php echo base_url();?>image/admin/book_delete.png" width="16" height="16"/></a></td>
        
            <?php 
            echo "</tr>";
            }?>
        	</table>
            <div id="phantrang_qldmtour"><?php echo count($item). " - ". $number."----"; echo $paging;?></div>
        </div>
    </div>
</div>